package com.sanjiayi.service;

import com.sanjiayi.dto.NearbyUserDTO;
import com.sanjiayi.pojo.User;
import java.util.List;

public interface NearbyService {
    /**
     * 更新用户位置信息
     */
    void updateLocation(NearbyUserDTO nearbyUserDTO);

    /**
     * 查询附近的用户
     */
    List<User> findNearbyUsers(NearbyUserDTO nearbyUserDTO);
} 